/**
 * 
 */
package org.mspring.mlog.web.module.web.ucenter;

import org.mspring.mlog.entity.SpaceInfo;
import org.mspring.mlog.entity.security.User;
import org.mspring.mlog.web.module.web.Web_AbstractWidget;

/**
 * @author Gao Youbo
 * @since 2013-6-7
 * @description
 * @TODO
 */
public class UCenter_AbstractWidget extends Web_AbstractWidget {
    public static final String DEFAULT_USERNAME_PATHVARIABLE = "username";

    protected User spaceUser;
    protected SpaceInfo spaceInfo;
    protected boolean mine;

    public User getSpaceUser() {
        return spaceUser;
    }

    public void setSpaceUser(User spaceUser) {
        this.spaceUser = spaceUser;
    }

    public SpaceInfo getSpaceInfo() {
        return spaceInfo;
    }

    public void setSpaceInfo(SpaceInfo spaceInfo) {
        this.spaceInfo = spaceInfo;
    }

    public boolean isMine() {
        return mine;
    }

    public void setMine(boolean mine) {
        this.mine = mine;
    }

    public String getUserNamePathVariable() {
        return DEFAULT_USERNAME_PATHVARIABLE;
    }

}
